/*
 * worldMap.h
 *
 *  Created on: 2012-10-30
 *      Author: maciek
 */

#ifndef WORLDMAP_H_
#define WORLDMAP_H_
using namespace std;

#include <iostream>
#include <complex>
#include <fstream>
#include <vector>

const int FILE_L = 20; // length of filename

/* TODO: Marian */
class worldMap {

public:
	worldMap();
	virtual 		~worldMap();
	int				loadMap( fstream& FileDes ); // could be in constructor
	void			showMap();
	int** 			returnMap();     //pierdoly Dziergwy
	complex<int> 	returnMapSize(); //pierdoly Dziergwy

	void    		addXY(complex<int>, char c);


private:
	int**						_mapWithObstacles;
	complex<int> 				_size;
	vector< complex<int> > 	_A;
	vector< complex<int> > 	_B;
	vector< complex<int> > 	_C;
	vector< complex<int> > 	_D;
};

#endif /* WORLDMAP_H_ */
